From 51e6005c9f33a9dd6ac5004a09fcb6ffbdee8dee Mon Sep 17 00:00:00 2001
From: Hanspeter Portner <dev@open-music-kontrollers.ch>
Date: Sun, 24 Feb 2019 10:18:16 +0100
Subject: [PATCH] Fix lv2_validate to use proper core.lv2 path

---
 plugins/eg-params.lv2/params.ttl   | 6 +++---
 plugins/eg-sampler.lv2/sampler.ttl | 2 +-
 util/lv2_validate.in               | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/plugins/eg-params.lv2/params.ttl b/plugins/eg-params.lv2/params.ttl
index dbcf6aa..931c826 100644
--- a/plugins/eg-params.lv2/params.ttl
+++ b/plugins/eg-params.lv2/params.ttl
@@ -116,11 +116,11 @@ plug:spring
 	state:state [
 		plug:int 0 ;
 		plug:long "0"^^xsd:long ;
-		plug:float 0.1234 ;
+		plug:float "0.1234"^^xsd:float ;
 		plug:double "0e0"^^xsd:double ;
 		plug:bool false ;
 		plug:string "Hello, world" ;
 		plug:path <params.ttl> ;
-		plug:spring 0.0 ;
-		plug:lfo 0.0
+		plug:spring "0.0"^^xsd:float ;
+		plug:lfo "0.0"^^xsd:float
 	] .
diff --git a/plugins/eg-sampler.lv2/sampler.ttl b/plugins/eg-sampler.lv2/sampler.ttl
index 92570e5..062b177 100644
--- a/plugins/eg-sampler.lv2/sampler.ttl
+++ b/plugins/eg-sampler.lv2/sampler.ttl
@@ -57,7 +57,7 @@
 	] ;
 	state:state [
 		<http://lv2plug.in/plugins/eg-sampler#sample> <click.wav> ;
-		param:gain 1.0
+		param:gain "1.0"^^xsd:float
 	] .
 
 <http://lv2plug.in/plugins/eg-sampler#ui>
diff --git a/util/lv2_validate.in b/util/lv2_validate.in
index 165b1bf..2f9853d 100755
--- a/util/lv2_validate.in
+++ b/util/lv2_validate.in
@@ -72,10 +72,10 @@ sord_validate \
     "$LV2DIR/log.lv2/log.ttl" \
     "$LV2DIR/log.lv2/manifest.ttl" \
     "$LV2DIR/log.lv2/lv2-log.doap.ttl" \
-    "$LV2DIR/lv2core.lv2/manifest.ttl" \
-    "$LV2DIR/lv2core.lv2/lv2core.ttl" \
-    "$LV2DIR/lv2core.lv2/lv2core.doap.ttl" \
-    "$LV2DIR/lv2core.lv2/meta.ttl" \
+    "$LV2DIR/core.lv2/manifest.ttl" \
+    "$LV2DIR/core.lv2/lv2core.ttl" \
+    "$LV2DIR/core.lv2/lv2core.doap.ttl" \
+    "$LV2DIR/core.lv2/meta.ttl" \
     "$LV2DIR/eg-metro.lv2/manifest.ttl" \
     "$LV2DIR/eg-metro.lv2/metro.ttl" \
     "$LV2DIR/presets.lv2/manifest.ttl" \
